<?php
namespace app\home\controller;

use app\common\controller\Front;

class Index extends Front
{
    public function index()
    {
        if( !is_file('./runtime/db/install.lock') ){
			$this->error('请先安装'.config('app.app_name'),'home/install/index');
		}else{
            $this->redirect('blog/index/index');
        }
    }
}